<style>
    .ui-popup-modal .ui-dialog-body{
        /*padding:0;*/
    }
</style>
<form class="edit-delivery-info" novalidate name="edit">
    <div class="section">
        <h3 class="title">客户经理信息</h3>
        <table>
            <tr>
                <td>
                    <span>姓名：</span>
                    <i class="glyphicon glyphicon-search"></i>
                    <input class="form-control edit-delivery-info-username" type="text"
                           placeholder="请输入姓名"
                           name="clientName"
                           data-type="CustomManager"
                           ng-model="data.CustomManager"
                           required>
                </td>
                <td>
                    <span>手机：</span>
                    <input class="form-control" type="text" placeholder="请输入手机号"
                           name="clientPhone"
                           ng-model="data.CustomManagerPhone"
                           ng-disabled="true">
                </td>
                <td>
                    <span>邮箱：</span>
                    <input class="form-control" style="width: 240px" type="text" placeholder="请输入邮箱"
                           name="clientEmail"
                           ng-model="data.CustomManagerEmail"
                           ng-disabled="true">
                </td>
            </tr>
        </table>
    </div>

    <div class="section">
        <h3 class="title">交付顾问信息</h3>
        <table>
            <tr>
                <td>
                    <span>姓名：</span>
                    <i class="glyphicon glyphicon-search"></i>
                    <input class="form-control edit-delivery-info-username" type="text"
                           placeholder="请输入姓名"
                           name="counselorName"
                           data-type="Deliver"
                           ng-model="data.Deliver"
                           required>
                </td>
                <td>
                    <span>手机：</span>
                    <input class="form-control" type="text" placeholder="请输入手机号"
                           name="counselorPhone"
                           ng-model="data.DeliverPhone"
                           ng-disabled="true">
                </td>
                <td>
                    <span>邮箱：</span>
                    <input class="form-control" style="width: 240px" type="text" placeholder="请输入邮箱"
                           name="counselorEmail"
                           ng-model="data.DeliverEmail"
                           ng-disabled="true">
                </td>
            </tr>
        </table>
    </div>
    <div class="section" ng-if="historyList && historyList.length">
        <h3 class="title">历史记录</h3>
        <div class="history">
            <table>
                <tr ng-repeat="item in historyList" ng-init="historyListLength = historyList.length">
                    <td class="text-center" width="40">{{ historyListLength - $index }}</td>
                    <td>
                        <p>
                            <time>时间：{{ item.CreatedOn }}</time>
                            <span>操作人：{{ item.UserName }}</span>
                        </p>
                        <p>
                            调整前信息：
                            客户经理是{{ item.CustomManager }} ( {{ item.CustomManagerPhone }} )、
                            交付顾问是{{ item.Deliver }} ( {{ item.DeliverPhone }} )
                        </p>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</form>